import { NgModule } from '@angular/core';
import { DailyComponent } from './daily.component';
import { ShareModule } from 'src/app/share/share.module';
import { RouterModule, Routes } from '@angular/router';

const routes:Routes=[
  {path:'',component:DailyComponent,pathMatch:'full',data:{title:'每日推荐'}}
]

@NgModule({
  declarations: [DailyComponent],
  imports: [
    ShareModule,
    RouterModule.forChild(routes)
  ]
})
export class DailyModule { }
